package com.gs.thunder_manage.dao.mapper;

import com.gs.thunder_manage.entity.AEAPAcceptedProject;
import com.gs.thunder_manage.entity.AEAPProjectReview;
import com.gs.thunder_manage.web.vo.AEAPAcceptedProjectVO;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: Legolas
 * Date: 2017/12/25 0025
 */

public interface AEAPMapper {

    void addProject(AEAPAcceptedProject project);
    void updateProject(AEAPAcceptedProject project);
    void deleteProject(String id);

    //查询所有项目，包括审核文件id
    List<AEAPAcceptedProjectVO> queryAllProjectVO();

    //PreReview
    void addPreReview();
    void updatePreReview();
    void deletePreReview();
    List<AEAPProjectReview> queryAllPreReview();
    List<AEAPProjectReview> queryPreReviewById(String id);

    //DrawingReview
    void addDrawingReview();
    void updateDrawingReview();
    void deleteDrawingReview();
    List<AEAPProjectReview> queryAllDrawingReview();
    List<AEAPProjectReview> queryDrawingReviewById(String id);

    //FinalReview
    void addFinalReview();
    void updateFinalReview();
    void deleteFinalReview();
    List<AEAPProjectReview> queryAllFinalReview();
    List<AEAPProjectReview> queryFinalReviewById(String id);


}
